#ifndef _DRAWLINES_H_
#define _DRAWLINES_H_

#pragma once
#include "SDL.h"
#include "..\SDLSample.h"
#include <iostream>

using namespace std;

class DrawLines : public SDLSample
{
public:
	DrawLines(void);
	virtual ~DrawLines(void);
	void run(void);
private:
	void drawLine(int, int, int, int, Uint32);
	int absoluteValue(int);
	int round(float);
	void putPixel(int, int, Uint32);
	SDL_Surface* screen;
	static int WINDOW_WIDTH;
	static int WINDOW_HEIGHT;
};

#endif
